package com.bean;

import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import com.util.Domain;

@Document(collection="lineTable")
public class LineTable {
	@Id
	private String id;
	private String img;
	private String link;
	private int zanNum2;
	private int likes;//1 like 0 notlike
	private String isDelete;
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getImg() {
		return img;
	}
	public void setImg(String img) {
		this.img = img;
	}
	public String getLink() {
		return Domain.line_str+this.getId();
	}
	
	public int getZanNum2() {
		return zanNum2;
	}
	public void setZanNum2(int zanNum2) {
		this.zanNum2 = zanNum2;
	}
	public int getLikes() {
		return likes;
	}
	public void setLikes(int likes) {
		this.likes = likes;
	}
	public String getIsDelete() {
		return isDelete;
	}
	public void setIsDelete(String isDelete) {
		this.isDelete = isDelete;
	}
	
}
